#define _CRT_SECURE_NO_WARNINGS 1

#include "SList.h"

int main()
{
	SListNode* plist = NULL;

	SListPushFront(&plist, 1);
	SListPushFront(&plist, 2);
	SListPushFront(&plist, 3);
	SListPushFront(&plist, 4);
	SListPrint(plist);
	SListNode* pos=SListFind(plist, 4);
	SListPrint(plist);
	SListErase(&plist, pos);
	SListPrint(plist);
	return 0;
}